package com.tentact.vo;

public class Department {
    //属性
    private int departmentid;
    private String departmentname;
    private String remark;
    private Employee employee;
    // get/set方法


    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public int getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(int departmentid) {
        this.departmentid = departmentid;
    }

    public String getDepartmentname() {
        return departmentname;
    }

    public void setDepartmentname(String departmentname) {
        this.departmentname = departmentname;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    //构造方法
    public Department(int departmentid, String departmentname, String remark) {
        this.departmentid = departmentid;
        this.departmentname = departmentname;
        this.remark = remark;
    }

    public Department(int departmentid, String departmentname, String remark, Employee employee) {
        this.departmentid = departmentid;
        this.departmentname = departmentname;
        this.remark = remark;
        this.employee = employee;
    }

    public Department(int departmentid) {
        this.departmentid = departmentid;
    }

    public Department() {

    }
}
